VideoPlayerStateRegistry

Registry for sharing VideoPlayerState instances between views. This is used to pass the player state to the fullscreen view.

Functions

Link copied to clipboard

Clear the registered VideoPlayerState instance.

Link copied to clipboard
fun getRegisteredState(): VideoPlayerState?

Get the registered VideoPlayerState instance.

Link copied to clipboard
fun registerState(state: VideoPlayerState)

Register a VideoPlayerState instance to be shared.